package com.example.pathprotectsystem.utils;

public class LiQingCalculateUtil {
    public static double xianlie(double l,double w,double h){
        double ans=0.0000;
        if(l>=1.0000&&w>=0.003) ans = l*0.2;
        return ans;
    }
    public static double wanglie(double l,double w,double h){
        double ans;
        ans = l*w;
        return ans;
    }
    public static double guilie(double l,double w,double h){
        double ans=0.0000;
        double res = l*w;
        if(res<1.0000)return ans;
        else ans =res;
        return ans;
    }
    public static double yongbao(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.015) ans = l*w;
        return ans;
    }
    public static double chezhe(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.015) ans = l*w;
        return ans;
    }
    public static double chenxian(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.010) ans = l*w;
        return ans;
    }
    public static double fanjiang(double l,double w,double h){
        double ans=0.0000;
        ans = l*w;
        return ans;
    }
    public static double boluo(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.020&&l*w>=0.1000) ans = l*w;
        return ans;
    }
    public static double kengcao(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.020) ans = l*w;
        return ans;
    }
    public static double kenbian(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.005) ans = l*w;
        return ans;
    }
    public static double lukuangcha(double l,double w,double h){
        double ans=0.0000;
        if(h>=0.015) ans = l*w;
        return ans;
    }
    public static double jijiang(double l,double w,double h){
        double ans=0.0000;
        ans = l*w;
        return ans;
    }
    public static double fanyou(double l,double w,double h){
        double ans=0.0000;
        ans = l*w;
        return ans;
    }
}
